<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{#$title#}</title>
<meta http-equiv="X-UA-Compatible" content="IE=7">


<link href="{#$QISHI.site_template#}css/common.css" rel="stylesheet" type="text/css" />
<link href="{#$QISHI.site_template#}css/user.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" src="{#$QISHI.site_template#}js/drag.js"></script>
<script language="javascript" type="text/javascript" src="{#$QISHI.site_template#}js/image.cut.js"></script>
<body>
{#include file="header.htm"#}
<table width="960" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:8px;" >
  <tr>
    <td width="208" valign="top" class="link_bk">
	{#include file="member_personal/personal_left.htm"#}
	</td>
    <td valign="top">
      <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="user_right_box">
        <tr>
          <td height="22" colspan="2" class="user_right_box_bg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="28"><span class="right_top_tit" style="padding-left:15px;">編輯簡歷</span></td>
 <td width="120" class="link_lan"><a href="?act=index">會員中心</a></td>              </tr>
          </table></td>
        </tr>
        <tr>
          <td height="22" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="4">
            <tr>
              <td height="80" bgcolor="#F5FAFC" style=" border-bottom:1px #CCCCCC dashed; color:#003399; padding-left:25px;"><span style="font-size:14px;">裁切照片
                <br />
              </span><span style="color: #009900; line-height:160%;">裁切步驟：拖動左側方框內的照片，調整到最佳效果，然后點擊左側按鈕“裁切照片”，右側將生成一寸照片，此時點擊“儲存裁切后的照片”完成裁切。</span><br />
                </td>
              </tr>
          </table>
		    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style="padding-bottom:80px;">
              <tr>
                <td>
				<form name="form" id="form" action="?act=save_resume_photo_cutting" method="post" onSubmit="return getcutpos();">
				<div id="cut_div" style="border:4px solid #FFCC33; width:320px; height:300px; overflow: hidden; position:relative; top:0px; left:0px; cursor:pointer;">
                    <table style="border-collapse: collapse; z-index: 10; filter: alpha(opacity=65); position: relative; left: 0px; top: 0px; width: 320px;  height: 300px; opacity: 0.75;" cellspacing="0" cellpadding="0" border="0" unselectable="on">
                      <tr>
                        <td style="background: #cccccc; height: 75px;" colspan="3"></td>
                      </tr>
                      <tr>
                        <td style="background: #cccccc; width: 100px;"></td>
                        <td style="border: 1px  dotted  #000000; width: 120px; height: 150px;"></td>
                        <td style="background: #cccccc; width: 100px;"></td>
                      </tr>
                      <tr>
                        <td style="background: #cccccc;height: 75px;" colspan="3"></td>
                      </tr>
                    </table>
                    <img id="cut_img" style="position:relative;top:-300px; left:0px" src="{#$QISHI.resume_photo_dir#}{#$resume_photo.photo#}" /></div>
					  <table align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td><img style="margin-top: 5px; cursor:pointer;"  src="{#$QISHI.site_template#}images/_h.gif" alt="圖片縮小" onmouseover="this.src='{#$QISHI.site_template#}images/_c.gif'" onmouseout="this.src='{#$QISHI.site_template#}images/_h.gif'" onclick="imageresize(false)" /></td>
              <td><img id="img_track" style="width: 250px; height: 18px; margin-top: 5px" src="{#$QISHI.site_template#}images/track.gif" /></td>
              <td><img style="margin-top: 5px; cursor:pointer;" src="{#$QISHI.site_template#}images/+h.gif" alt="圖片放大"  onmouseover="this.src='{#$QISHI.site_template#}images/+c.gif'" onmouseout="this.src='{#$QISHI.site_template#}images/+h.gif'" onclick="imageresize(true)" /></td>
            </tr>
            <tr>
              <td>&nbsp;</td>
              <td height="30" align="center" class="font_12_hui">拖動滑動條調整原始照片大小</td>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td>&nbsp;</td>
              <td height="30" align="center" class="font_12_hui"><input type="submit"  name="submit"  id="submit" value=" 裁切照片 " style=" padding:3px;; font-size:12px" />
&nbsp;&nbsp;&nbsp;&nbsp;
<input type="button"  name="submit22"  id="submit22" value=" 重新上傳照片 " style=" padding:3px; font-size:12px"  onclick="window.location='?act=resume_photo_add'"/></td>
              <td>&nbsp;</td>
            </tr>
          </table>
                    <input type="hidden" name="cut_pos" id="cut_pos" value="" />
				</form>
		  <img id="img_grip" style="position:absolute; z-index:100; left:-1000px; top:-1000px; cursor:pointer;" src="{#$QISHI.site_template#}images/grip.gif" />
				</td>
                <td width="280" align="center" valign="top" style=" border-left:1px #CCCCCC solid">
				<form id="form2" name="form2" method="post" action="?act=save_resume_photo_thumb">
<div style="height:30px; background-color:#E2ECF3; line-height:30px; margin-bottom:15px;">裁切后的照片</div>
{#if $photo_thumb eq 1#}
<img id="cutimg_l" src="{#$QISHI.resume_photo_dir_thumb#}{#$resume_photo.photo#}"  style="margin-bottom:5px; border:1px #cccccc solid;"/><br /><table width="100%" border="0" cellspacing="8" cellpadding="0">
  <tr>
    <td align="center"><labe><input name="display" type="radio" value="1" {#if $resume_photo.display eq 1 ||  $resume_photo.display eq ""#}checked="checked" {#/if#}/>顯示在簡歷中....</label>
</td>
  </tr>
  <tr>
    <td align="center"><labe><input name="display" type="radio" value="2" {#if $resume_photo.display eq 2#}checked="checked" {#/if#}/>不顯示在簡歷中</label></td>
  </tr>
  <tr>
    <td align="center">顯示在簡歷中可有效提高求職成功率</td>
  </tr>
</table>
<input type="submit"  name="submit2"  id="submit2" value=" 儲存裁切后的照片 " style=" padding:3px; font-size:12px; width:130px; color:#FF0000"/>
{#else#}
<span>請先點擊左側“裁切照片”按鈕進行裁切</span>
<img id="cutimg_l" src="{#$QISHI.resume_photo_dir_thumb#}{#$resume_photo.photo#}"  style="margin-bottom:18px; display:none"/>
{#/if#}
				<img id="cutimg_m" src="m.jpg" border="1"  style="display:none;"/>
                </form>
				</td>
              </tr>
            </table>
		  </td>
          <td width="150" valign="top" class="personal_resume_right_box" >
		 {#include file="member_personal/personal_right.htm"#}
		  </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</body>
</html>
